home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
music
/
5mods_4.arj
/
NSCANALL.MOD
< prev
next >
Wrap
Text File
|
1994-01-24
|
2KB
|
51 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name: SPRHWK01.MOD Author: Sir Sparhawk 1@13494 │
│ │
│ Difficulty: DUH.... Date: 05Dec93 │
│ │
│ Version: WWIV Version 4.23 │
│ │
│ Description: Fix for N-Scanning all conferences. │
│ The code in this mod is found elsewhere in the source │
│ all I did was found it and moved it to where it needs │
│ to be. │
└────────────────────────────────────────────────────────────────────────────┘
Step 1: You know the drill. Back up those Source Files. The Source Police
will get ya if ya don't!
Step 2: Load up MSGBASE1.C and search for void nscan
Step 3: Add the following where indicated.
/* == */ = Existing Line
/* ++ */ = Added Line
/* =+ */ = Modified Line
/* == */ void nscan(int ss)
/* == */ {
/* =+ */ int i,nextsub,abort,next,ac=0; /* Add ac=0 */
/* == */ unsigned char ch;
/* == */
/* ++ */ if ((uconfsub[1].confnum!=-1) && (okconf(&thisuser))) {
/* ++ */ if (!x_only) {
/* ++ */ nl();
/* ++ */ prt(5,get_string(1379));
/* ++ */ ac=yn();
/* ++ */ nl();
/* ++ */ } else
/* ++ */ ac=1;
/* ++ */ if (ac)
/* ++ */ tmp_disable_conf(1);
/* ++ */ }
Step 4: At the very end of void nscan add this line.
/* == */ }
/* ++ */ tmp_disable_conf(0);
/* == */ }
Step 5: Save MSGBASE1.C and recompile.